home *** CD-ROM | disk | FTP | other *** search
/ Especial Multimedia / Especial Multimedia.iso / Multimed / Prg / FADE2.ZIP / README.TXT < prev   
Text File  |  1997-09-14  |  1KB  |  26 lines

  1. ==========================
  2.  FADE TO BLACK - Fade.Mak
  3. ==========================
  4.  
  5. This sample project demonstrates how to paint a blue-to-black
  6. gradient on the background of any form.  It was designed to
  7. replicate (as near as possible) the Setup forms used by Microsoft
  8. and many other software publishers.
  9.  
  10. This code builds upon that contained in the file FADE.ZIP from
  11. Brian Stine (CIS 73617,323).  I added the capability to do horizontal
  12. and diagonal gradients, and optimized the code for the color depth
  13. of the display adapter being used.
  14.  
  15. To add this to your own project, just add the file FADE.BAS to your 
  16. project and put the following call in your Form_Resize event:
  17.  
  18.     Call FadeForm (Me, <gradient type>)
  19.  
  20.     a <gradient type> of 0 will create a diagonal gradient
  21.         "    "  "    "     " 1  "      "     vertical   "  "    
  22.         "    "  "    "     " 2  "      "     horizontal "  "    
  23.         any other value will set the background color to Medium Blue
  24.  
  25.  
  26. Michael E. Reed   CIS:71730,573